package com.wzw.shoppingcart.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.math.BigDecimal;
import java.util.List;

/**
 *@author wzw
 * 2023/4/6
 */
@Data
public class Product {
    @TableId(type = IdType.AUTO)
    private Integer productId;
    private String productName;
    private BigDecimal price;
    private Integer stock;
    private Integer state;
    @TableField(exist = false)
    private BigDecimal discountPrice;
    @TableField(exist = false)
    private List<String> discountType;


}
